import { request } from '@/plugins/http';

export const apiHomeChartData = () => {
  return request('admin/chart_data', {
    method: 'GET',
  });
};

export const apiHomeUserChartData = () => {
  return request('admin/user/chart_data', {
    method: 'GET',
  });
};

export const apiHomeHotWord = () =>
  request('admin/hot_word', {
    method: 'GET',
  });

export const apiHomeSellerCounter = () =>
  request('admin/seller_counter', {
    method: 'GET',
  });
